package com.yan.design.comon.annotation;

import java.lang.annotation.*;

/**
 * 对某个字段进行加密返回
 * @author shengren.yan
 * @create 2022-07-08
 */
@Documented
@Target({ElementType.FIELD, ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
public @interface CryptographicES{

    /**
     * 加密 true / 解密 false
     * @return
     */
    boolean isEncrypt() default false;



}
